/**
 * There are <a href="https://www.hdzhx.com">邯郸智讯</a> code generation
 */
package com.boxin.ims.modules.momarketing.entity.self;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.BaseEntity;
import com.thinkgem.jeesite.modules.sys.entity.User;

/**
 * 在线报名自定义添加Entity
 * @author sogyan
 * @version 2014-03-21
 */
@Entity
@Table(name = "ims_online_signup_detail")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class OnlineSignupDetail extends BaseEntity {
	
	private static final long serialVersionUID = 1L;
	private Long  id; 		// 编号
	private Long signupId;   //对应在线报名ID
	private String name; 	// 名称
	private String detail;  //描述
	
	
	
	
	
	


	

	

	
	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	
	

	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	//@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_momarketing_self_onlineSignupConfigDetail")
	//@SequenceGenerator(name = "seq_momarketing_self_onlineSignupConfigDetail", sequenceName = "seq_momarketing_self_onlineSignupConfigDetail")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}


	
	@Length(min=1, max=200)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getSignupId() {
		return signupId;
	}

	public void setSignupId(Long signupId) {
		this.signupId = signupId;
	}



	


	


	
}


